﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApplicationFileSys.Models
{
    /// <summary>
    /// 配置各种，key
    /// 创建时间：2023-9-1 10:05:02，
    /// </summary>
    public class KeyValueConfig
    {
        /// <summary>
        /// 文件存储目录，上传文件保存目录
        /// </summary>
        public readonly static string fileSaveDir;

        static KeyValueConfig()
        {
            fileSaveDir = System.Configuration.ConfigurationManager.AppSettings["file_dir"];
        }


        /// <summary>
        /// 用户登录session  key
        /// </summary>
        public const string KeyUserSession = "whl_login_auth";
    }
}